<?php
require_once 'PHPUnit\Framework.php';
require_once 'DB2XML888.class.php';
require_once 'helpFunctions.php';
class TestDb2XML888 extends PHPUnit_Framework_TestCase {
	
	function convert2XMLProvider() 
	{		
		$arr = array ( array(1,'2009-09-08',dirname(__FILE__).'\..\Data\\'.'liveMB_Somdate.xml'));
		return $arr;		
	}
	/**
	 * 
	 * @dataProvider convert2XMLProvider
	 */
	function testConvert2XML($areaCode,$date,$fileName) 
	{
		$converter = new DB2XML888($areaCode);
		$converter ->covert2XML($date,$fileName);
	}
}
?>